ServerEvents.recipes(event =>{
  const im = event.recipes.immersiveengineering
  const eio =event.recipes.enderio
  //尽量统一删除
  event.remove({modid:'immersiveengineering',output:'immersiveengineering:ingot_steel'})
  event.remove({type:'immersiveengineering:blast_furnace'})
  event.shapeless('tfc:powder/lime','chemlib:calcium_oxide_dust')
  event.shapeless('chemlib:calcium_oxide_dust','tfc:powder/lime')
  event.remove({type:'immersiveengineering:arc_furnace',output:'immersiveengineering:ingot_aluminum'})
  const removelist =['immersiveengineering:component_steel','immersiveengineering:component_electronic_adv','immersiveengineering:circuit_board','immersiveengineering:electron_tube','immersiveengineering:component_electronic','immersiveengineering:component_iron','enderio:void_chassis','enderio:grains_of_infinity','tfccanes:refined_walking_cane','ad_astra:tier_3_rocket','createnuclear:steel_ingot']
  for(var i=0;i<removelist.length;i++){
    event.remove({output:removelist[i]})
  }
  im.blast_furnace('tfc:metal/ingot/wrought_iron','tfc:refined_iron_bloom','immersiveengineering:slag',1800)
  event.replaceInput({output:"thermal:charge_bench"},"minecraft:redstone_block",'immersiveengineering:coil_hv')
  event.replaceInput({output:"thermal:charge_bench"},"thermal:rf_coil","createaddition:tesla_coil")
  //addtion连接器
  event.replaceInput({output:'createaddition:connector'},
  'minecraft:slime_ball' , '#forge:glue')
  event.replaceInput({},'create_new_age:generator_coil','kubejs:titanium_aluminum_alloy')
  //ad高炉烧生铁
  event.remove('ad_astra:etrionic_blast_furnace')
  event.shaped('ad_astra:etrionic_blast_furnace',
  [
    'XYX',
    'XZX',
    'YYY'
  ],{
    X:'tfc:metal/sheet/steel',
    Y:'immersiveengineering:slab_sheetmetal_steel',
    Z:'anvilcraft:magnetoelectric_core'
  })
  event.remove({type:'ad_astra:alloying'})
  event.custom({
    type: "ad_astra:alloying",
    "cookingtime": 200,
    "energy": 360,
    ingredients: [
      {
        "tag": "forge:dusts/iron"
      },
      {
        "item": "tfc:powder/flux"
      }
    ],
    "result": {
      "count": 1,
      "id": "tfc:metal/ingot/pig_iron"
    }
  })
  //玻璃罩肥料
  event.remove({modid:'immersiveengineering',type:'immersiveengineering:fertilizer'})
  event.recipes.immersiveengineeringFertilizer('#forge:slag').growthModifier(1.8)
  event.recipes.immersiveengineeringFertilizer('thermal:phytogro').growthModifier(2.7)
  event.recipes.immersiveengineeringFertilizer('immersiveengineering:fertilizer').growthModifier(3.5)
  //磁铁块
  event.custom({
      type: 'create_new_age:energising',
      "energy_needed": 800,
      ingredients: [
        { item: 'tfc:ore/normal_magnetite' }
      ],
      results: [
        { item: 'create_new_age:magnetite_block', count: 1 }
      ]
    })
    event.custom({
      type: 'create_new_age:energising',
      "energy_needed": 2000,
      ingredients: [
        { item: 'tfc:ore/rich_magnetite' }
      ],
      results: [
        { item: 'create_new_age:magnetite_block', count: 2 }
      ]
    })
    //电弧炉烧制玄钢锭
    im.arc_furnace(
      [Item.of('enderio:dark_steel_ingot', 1)], // 输出
      '#forge:ingots/iron', // 输入
      ['#forge:obsidian', '#forge:dusts/coal'], // 添加剂
      'enderio:grains_of_infinity',100,512000
    )
  event.shaped(
    Item.of('enderio:void_chassis', 1), // arg 1: output
    [
      'ABA',
      'BCB', // arg 2: the shape (array of strings)
      'ABA'
    ],
    {
      A: 'enderio:dark_steel_bars',
      B: '#forge:ingots/dark_steel',  //arg 3: the mapping object
      C: 'enderio:grains_of_infinity'
    })               
  //电路板
  event.remove({output:'anvilcraft:circuit_board'})
  event.shaped(
    Item.of('anvilcraft:circuit_board', 2), 
    [
      'DAD',
      'DBD', 
      'DCD'
    ],
    {
      A: 'ae2:logic_processor',
      B: 'ae2:engineering_processor',  
      C: 'ae2:calculation_processor',
      D: 'anvilcraft:hardend_resin'
    })
  //机器框架
  event.remove({output:'thermal:machine_frame'})
  event.shaped(
    Item.of('thermal:machine_frame', 1), 
    [
      'ABA',
      'CDC', 
      'ABA'
    ],
    {
      A: 'immersiveengineering:component_steel',
      B: 'enderio:basic_capacitor',  
      C: '#forge:gears/dark_steel',
      D: 'anvilcraft:circuit_board'
    })
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        'ae2:printed_silicon', 
        'minecraft:redstone', 
        'ae2:printed_engineering_processor',
        'thermal:cured_rubber'
    ],
    result: "4x ae2:engineering_processor",
    category: 'processor'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        'ae2:printed_silicon',
        'minecraft:redstone',
        'ae2:printed_logic_processor',
        'thermal:cured_rubber'
    ],
    result: "4x ae2:logic_processor", 
    category: 'processor' 
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        'ae2:printed_silicon', // 纸
        'minecraft:redstone', // 铁锭
        'ae2:printed_calculation_processor',
        'thermal:cured_rubber' // 青金石
    ],
    result: "4x ae2:calculation_processor", // 输出物品
    category: 'processor' // 配方分类
  });
  event.shaped(
    Item.of('ae2:not_so_mysterious_cube', 1), // arg 1: output
    [
      'ABA',
      'ACA', // arg 2: the shape (array of strings)
      'ABA'
    ],
    {
      A: 'anvilcraft:reinforced_concrete_white',
      B: 'create_new_age:magnetite_block',  //arg 3: the mapping object
      C: 'anvilcraft:magnetoelectric_core'
    })
  event.custom({"type":"minecraft:crafting_shaped",
  "category":"misc",
  "key":{
    "A":{"item":"ae2:printed_engineering_processor"},
    "B":{"item":"ae2:printed_logic_processor"},
    "C":{"item":"ae2:printed_calculation_processor"},
    "D":{"item":"minecraft:blue_dye"},
    "E":{"item":"minecraft:paper"}
  },
    "pattern":[
      'ABC',
      'DDD',
      'EEE'],
      "result":{"item":"immersiveengineering:blueprint",
  "nbt":{"blueprint":"processor"}},
  "show_notification":true})

  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '2x #forge:plates/steel', 
        '#forge:ingots/copper',
    ],
    result: "1x kubejs:incompleted_component_steel", 
    category: 'components' 
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '2x #forge:plates/iron', 
        '#forge:ingots/copper',
    ],
    result: "1x kubejs:incompleted_component_iron", 
    category: 'components' 
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:plates/copper', 
        'immersiveengineering:plate_duroplast',
    ],
    result: "1x kubejs:incompleted_circuit_board", 
    category: 'components' 
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:dusts/redstone', 
        '#forge:glass', 
        '#forge:wires/copper',
        '#forge:plates/nickel' 
    ],
    result: "3x kubejs:incompleted_electron_tube", 
    category: 'components' 
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:wires/electrum', 
        '#forge:dusts/redstone',
        '#forge:gems/quartz',
        '#forge:treated_wood_slab' 
    ],
    result: "1x kubejs:incompleted_component_electronic", 
    category: 'components' 
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        'immersiveengineering:plate_duroplast', 
        '#forge:wires/aluminum', 
        'immersiveengineering:electron_tube',
    ],
    result: "1x kubejs:incompleted_component_electronic_adv", 
    category: 'components'
  });

  event.custom({
    type: 'create_new_age:energising',
    "energy_needed": 100000,
    ingredients: [
      { item: 'ae2:not_so_mysterious_cube' }
    ],
    results: [
      { item: 'ae2:mysterious_cube', count: 1 }
    ]
  })

  const dtree=['willow','oak','pine','white_cedar','sycamore','spruce','sequoia','rosewood','palm','mangrove','kapok','hickory','douglas_fir','chestnut','blackwood','birch','aspen','acacia','ash']
  for (var i=0;i<dtree.length;i++){
      event.recipes.create.filling('thermal:rubberwood_sapling',[Fluid.of("thermal:latex",1000),Ingredient.of(`dttfc:${dtree[i]}_seed`)])
      event.recipes.thermal.insolator([`6x tfc:wood/log/${dtree[i]}`],`dttfc:${dtree[i]}_seed`)
      event.shaped(`tfc:wood/sluice/${dtree[i]}`,['AA','BA'],{A:`tfc:wood/support/${dtree[i]}`,B:`tfc:wood/log/${dtree[i]}`})
      event.recipes.create.cutting(`tfc:wood/stripped_log/${dtree[i]}`,`tfc:wood/log/${dtree[i]}`)
    }
    //宇航服
  event.remove('ad_astra:space_boots')
  event.shaped(
    Item.of('ad_astra:space_boots', 1), 
    [
      'CDC', 
      'BAB'
    ],
    {
      A: 'thermal:hazmat_fabric',
      B: '#forge:plates/aluminum',  
      C: '#forge:rods/steel',
      D: 'tfc:metal/unfinished_boots/steel',
    });
  event.remove('ad_astra:space_helmet')
  event.shaped(
    Item.of('ad_astra:space_helmet', 1), 
    [
      'EFE',
      'BDB', 
      'CAC'
    ],
    {
      A: 'thermal:hazmat_fabric',
      B: '#forge:plates/aluminum',  
      C: '#forge:rods/steel',
      D: 'tfc:metal/unfinished_helmet/steel',
      E: '#forge:wool',
      F: 'thermal:lumium_glass'
    });
  event.remove('ad_astra:space_pants')
  event.shaped(
    Item.of('ad_astra:space_pants', 1), 
    [
      'CDC',
      'BAB', 
      'C C'
    ],
    {
      A: 'thermal:hazmat_fabric',
      B: '#forge:plates/aluminum',  
      C: '#forge:rods/steel',
      D: 'tfc:metal/unfinished_greaves/steel',
    });
  event.remove('ad_astra:space_suit')
  event.shaped(
    Item.of('ad_astra:space_suit', 1), 
    [
      'CDC',
      'ABA', 
      'CEC'
    ],
    {
      A: 'ad_astra:gas_tank',
      B: 'ad_astra:oxygen_gear', 
      C: '#forge:rods/steel',
      D: 'tfc:metal/unfinished_chestplate/steel',
      E: '#forge:sheets/aluminum'
    });
    event.remove("ad_astra:tier_1_rocket")
    event.custom({
      "type": "ad_astra:nasa_workbench",
      "ingredients": [
        {"item": "ad_astra:rocket_nose_cone"},
        {"tag": "ad_astra:steel_blocks"},
        {"tag": "ad_astra:steel_blocks"},
        {"tag": "ad_astra:steel_blocks"},
        {"tag": "ad_astra:steel_blocks"},
        {"tag": "ad_astra:steel_blocks"},
        {"tag": "ad_astra:steel_blocks"},
        {"item": "ad_astra:rocket_fin"},
        {"item": "ad_astra:steel_tank"},
        {"item": "ad_astra:steel_tank"},
        {"item": "ad_astra:rocket_fin"},
        {"item": "ad_astra:rocket_fin"},
        {"item": "ad_astra:steel_engine"},
        {"item": "ad_astra:rocket_fin"}
      ],
      "result": {
        "count": 1,
        "id": "ad_astra:tier_1_rocket"
      }
    });
  event.remove({type:"ad_astra:refining",output:Fluid.of('ad_astra:fuel')})
  event.custom({
    "type": "ad_astra:refining",
    "cookingtime": 180,
    "energy": 300000,
    "input": {
      "ingredient": {
        "tag": "forge:crude_oil"
      },
      "millibuckets": 5
    },
    "result": {
      "fluid": "ad_astra:fuel",
      "millibuckets": 5
    }
  })

  //沉浸航天锅炉
  event.shaped(
    Item.of('immersive_aircraft:boiler', 1), 
    [
      ' A ',
      'ABA', 
      'ACA'
    ],
    {
      A: '#forge:ingots/copper',
      B: 'create:fluid_tank', 
      C: 'create:fluid_pipe',
    });
  event.remove('ad_astra:steel_rod');//移除钢棒合成
  event.remove({modid:'thermal',input:'minecraft:fire_charge'});
  event.remove({output:'create_new_age:carbon_brushes'});
  event.remove({output:'create_new_age:generator_coil'});
  event.shaped(
    Item.of('create_new_age:carbon_brushes', 1),
    [
      'DDCDD',
      'DBABD', 
      'CACAC',
      'DBABD',
      'DDCDD'
    ],
    {
      A: 'createaddition:copper_spool',
      B: 'immersiveengineering:ingot_hop_graphite', 
      C: 'create:shaft',
      D: 'create:sturdy_sheet'
    });
  event.shaped(
    Item.of('create_new_age:generator_coil', 1),
    [
      'ABA',
      'BCB', 
      'ABA'
    ],
    {
      A: 'anvilcraft:magnet_ingot',
      B: 'immersiveengineering:coil_lv', 
      C: 'anvilcraft:magnetoelectric_core',
    });
  //铁砧工艺完成零件
  const components = [['immersiveengineering:component_electronic_adv','kubejs:incompleted_component_electronic_adv'],
  ['immersiveengineering:component_steel','kubejs:incompleted_component_steel'],
  ['immersiveengineering:circuit_board','kubejs:incompleted_circuit_board'],
  ['immersiveengineering:component_iron','kubejs:incompleted_component_iron'],
  ['immersiveengineering:electron_tube','kubejs:incompleted_electron_tube'],
  ['immersiveengineering:component_electronic','kubejs:incompleted_component_electronic']]
  components.forEach(item =>{
    event.custom({
      "type": "anvilcraft:anvil_processing",
      "anvil_recipe_type": "stamping",
      "icon": {"item": item[0]},
      "outcomes": [{
          "type": "spawn_item",
          "chance": 1.0,
          "offset": [0.0,-0.75,0.0],
          "result": {
            "item": item[0]}}],
      "predicates": [{
          "type": "has_block",
          "match_block": {
            "blocks": [
              "anvilcraft:stamping_platform"]},
          "offset": [0.0,-1.0,0.0]},
        {
          "type": "has_item_ingredient",
          "match_item": {
            "count": {
              "min": 1},
            "items": [item[1]]},
          "offset": [0.0,-0.75,0.0]}]
    });
    event.custom(
      {
        "type": "thermal:press",
        "ingredient": {
          "item": item[1]
        },
        "result": [
          {
            "item": ('2x '+item[0])
          }
        ]
      });
  });
  eio.alloy_smelting('2x minecraft:glass',['#tfc:glass_batches'])
  event.replaceInput('anvilcraft:ruby_laser','anvilcraft:royal_steel_ingot','anvilcraft:royal_steel_nugget');event.replaceInput('anvilcraft:ruby_laser','anvilcraft:ruby_block','anvilcraft:ruby')
  const ores = ['uraninite','tetrahedrite','sulfur','sphalerite','silver','malachite','magnetite','limonite','hematite','graphite','gold','garnierite','galena','cryolite','copper','cinnabar','chromite','cassiterite','bismuthinite','bauxite']
  ores.forEach(item =>{
    event.remove({output:`tfcorewashing:dirty_dust_${item}`,type:'immersiveengineering:crusher'})
    event.remove({output:`tfcorewashing:chunks_${item}`,type:'immersiveengineering:crusher'})
    im.crusher(Item.of(`tfcorewashing:dirty_dust_${item}`,2),`tfcorewashing:rocky_chunks_${item}`,Item.of(`tfcorewashing:dirty_dust_${item}`).withChance(0.333))
    .energy(6000)
  })
  im.crusher('2x kubejs:manganese_mineral_powder','kubejs:raw_pyrolusite')
  .energy(4000)
  im.metal_press('kubejs:steel_gun_parts', '2x firmalife:metal/ingot/stainless_steel', 'immersiveengineering:mold_gear', 1024)
  im.metal_press('kubejs:al_gun_parts', '2x kubejs:aluminum_alloy', 'immersiveengineering:mold_gear', 1024)
  im.metal_press('kubejs:tial_gun_parts', '2x kubejs:titanium_aluminum_alloy', 'immersiveengineering:mold_gear', 1024)
  im.metal_press('thermal:saw_blade', 'tfc:metal/double_sheet/wrought_iron', 'immersiveengineering:mold_gear', 1024)
  im.crusher('thermal:rich_slag','minecraft:purpur_block',Item.of(`kubejs:pyrolusite`).withChance(0.05))
  .energy(6000)
  //制作子弹
  const gc = ['prma:shotgun_shell_base','#prma:brass_ammo_components','#prma:iron_ammo_components','#prma:copper_ammo_components','prma:cartridge_primer','prma:40mm_slug','prma:40mm_casing','prma:high_power_ammunition_gunpowder']
  gc.forEach(i =>{event.remove({output:i})})
  event.replaceInput({output:'#prma:ammo_heads'},'create:iron_sheet','#forge:nuggets/iron')
  event.replaceInput({output:'#prma:ammo_heads'},'create:copper_sheet','#forge:nuggets/copper')
  event.recipes.create.cutting('4x prma:40mm_slug','#forge:ingots/copper')
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:rods/steel', 
    ],
    result: "immersiveengineering:gunpart_barrel", 
    category: 'guncomponents'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:plates/iron', 
    ],
    result: "64x prma:cartridge_primer", 
    category: 'guncomponents'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [ 'create:wrench','immersiveengineering:screwdriver','anvilcraft:royal_anvil_hammer','8x immersiveengineering:treated_wood_horizontal'
    ],
    result: "tacz:gun_smith_table", 
    category: 'guncomponents'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:ingots/brass', 
    ],
    result: "12x prma:long_brass_casing", 
    category: 'guncomponents'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:ingots/brass', 
    ],
    result: "16x prma:medium_brass_casing", 
    category: 'guncomponents'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:ingots/brass', 
    ],
    result: "24x prma:small_brass_casing", 
    category: 'guncomponents'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:ingots/brass', 
    ],
    result: "32x prma:shotgun_shell_base", 
    category: 'guncomponents'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:ingots/iron', 
    ],
    result: "4x prma:40mm_casing", 
    category: 'guncomponents'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:ingots/iron', 
    ],
    result: "16x prma:medium_iron_casing", 
    category: 'guncomponents'
  });
  im.blueprint({
    type: 'immersiveengineering:blueprint',
    inputs: [
        '#forge:ingots/iron', 
    ],
    result: "12x prma:long_iron_casing", 
    category: 'guncomponents'
  });
  event.shaped('mm:antiseptic_barral',['ABA','B B','ABA'],{A:'immersiveengineering:treated_wood_horizontal',B:'tfc_ie_addon:treated_wood_lumber'})
  event.shapeless('mm:wooden_kinetic_port_input',['immersiveengineering:treated_wood_horizontal','create:cogwheel'])
  event.shapeless('mm:wooden_kinetic_port_input',['mm:wooden_kinetic_port_output'])
  event.shapeless('mm:wooden_kinetic_port_output',['mm:wooden_kinetic_port_input'])
  event.shapeless('mm:wooden_port_input',['immersiveengineering:treated_wood_horizontal','woodenhopper:wooden_hopper'])
  event.shapeless('mm:wooden_port_input',['mm:wooden_port_output'])
  event.shapeless('mm:wooden_port_output',['mm:wooden_port_input'])
  event.shapeless('mm:wooden_fluid_port_input',['immersiveengineering:treated_wood_horizontal','create:mechanical_pump'])
  event.shapeless('mm:wooden_fluid_port_input',['mm:wooden_fluid_port_output'])
  event.shapeless('mm:wooden_fluid_port_output',['mm:wooden_fluid_port_input'])
  
})


BlockEvents.rightClicked(event => {
  const { block, item, player, hand } = event; // 解构事件对象

  // 检查右键点击的方块是否是目标方块
  if (block.id === 'tfc:metal/anvil/steel') {
      // 检查玩家手中的物品是否是目标物品
      if (item.id === 'minecraft:flint') {
          // 消耗玩家手中的物品（减少 1 个）
          item.shrink(1);

          // 给予玩家一个新物品
          player.give(Item.of('enderio:grains_of_infinity')); 

          // 播放声音（可选）
          player.level.playSound(player, 'entity.experience_orb.pickup', 1.0, 1.0);
      
      }
  }
});
MMEvents.createStructures(event => {
  event.create("kubejs:antiseptic_barral")
      .controllerId("mm:antiseptic_barral")
      .name("Antiseptic Barral")
      .layout(a => {
          a.layer(["AAA","BCD","AAA"])
          .layer(["AFA","A A","AAA"])
          .layer(["AAA","A A","AAA"])
          .layer(["AAA","A A","AAA"])
          .layer(["AGA","A A","AAA"])
          .layer(["AAA","AEA","AAA"])
          .key("A", {block:"immersiveengineering:treated_wood_horizontal"})
          .key("B", {block:"mm:wooden_port_input"})
          .key("D", {block:"mm:wooden_port_output"})
          .key("E", {block:"mm:wooden_kinetic_port_input"})
          .key("F", {block:"mm:wooden_fluid_port_input"})
          .key("G", {block:"mm:wooden_fluid_port_output"})
      })
});
MMEvents.createProcesses(event => {
  event.create("mm:glue")
      .structureId("kubejs:antiseptic_barral")
      .ticks(6000)
      .input({
        type: "mm:input/consume",
        ingredient: {
            type: "mm:item",item: "minecraft:bone_meal",count:32}})
      .input({
        type: "mm:input/consume",
        ingredient: {
            type: "mm:fluid",fluid: "tfc:limewater",amount:16000}})
      .input({
        type: "mm:input/consume",
        ingredient: {
        type: "mm:create/kinetic",speed: 64}})
      .output({
        type: "mm:output/simple",
        ingredient: {
            type: "mm:item",item: "tfc:glue",count:32}
      });

      event.create("mm:mortar")
      .structureId("kubejs:antiseptic_barral")
      .ticks(3000)
      .input({
        type: "mm:input/consume",
        ingredient: {
            type: "mm:item",tag: "minecraft:sand",count:32}})
      .input({
        type: "mm:input/consume",
        ingredient: {
            type: "mm:fluid",fluid: "tfc:limewater",amount:6400}})
      .input({
        type: "mm:input/consume",
        ingredient: {
        type: "mm:create/kinetic",speed: 64}})
      .output({
        type: "mm:output/simple",
        ingredient: {
            type: "mm:item",item: "tfc:mortar",count:128}
      });
      event.create("mm:apatite_dust")
      .structureId("kubejs:antiseptic_barral")
      .ticks(4000)
      .input({
        type: "mm:input/consume",
        ingredient: {
            type: "mm:item",item: "minecraft:bone_meal",count:60}})
      .input({
        type: "mm:input/consume",
        ingredient: {
            type: "mm:fluid",fluid: "tfc:limewater",amount:2000}})
      .input({
        type: "mm:input/consume",
        ingredient: {
        type: "mm:create/kinetic",speed: 64}})
      .output({
        type: "mm:output/simple",
        ingredient: {
            type: "mm:item",item: "thermal:apatite_dust",count:20}
      })
})